-- GENERATED SPELL FOR [Khan Dez'hepah] --


function spell0_5600(pUnit, Event) --@Battle Stance,Self--
pUnit:FullCastSpellOnTarget(7165,pUnit)
pUnit:RegisterEvent('Sorts_5600', 529, 1)
end

function spell1_5600(pUnit, Event) --@Heroic Strike,n/a--
pUnit:FullCastSpellOnTarget(25710,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5600', 558, 1)
end

function Sorts_5600(pUnit, Event)
local choix_sorts_5600 = math.random(0, 1)
if choix_sorts_5600 == 0 then
pUnit:RegisterEvent('spell0_5600', 1, 1)
end
if choix_sorts_5600 == 1 then
pUnit:RegisterEvent('spell1_5600', 1, 1)
end
end

function mob5600_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5600', math.random(1500, 3000), 1)
end

function mob5600_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5600_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5600_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5600, 1, 'mob5600_Action')
RegisterUnitEvent(5600, 2, 'mob5600_Leave')
RegisterUnitEvent(5600, 3, 'mob5600_Kill')
RegisterUnitEvent(5600, 4, 'mob5600_Die')
